﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="Chess.ClockFace"
	x:Name="UserControl" d:DesignHeight="480" Width="480" Height="{Binding Width, ElementName=UserControl, Mode=Default}">

	<Grid x:Name="LayoutRoot">
		<Rectangle x:Name="Hours" Width="8" Height="136" Fill="White" Stroke="#333333" 
			StrokeThickness="0.6" RadiusX="2" RadiusY="2" RenderTransformOrigin="0,0" Visibility="Hidden">
			<Rectangle.RenderTransform>
				<TransformGroup>
					<TranslateTransform X="-4" Y="-32" />
					<TranslateTransform X="50" Y="50" />
				</TransformGroup>
			</Rectangle.RenderTransform>

		</Rectangle>
		<Ellipse Fill="White"/>
		<Canvas x:Name="clockFace"/>
		<Ellipse x:Name="ellipse" Height="{Binding Width, ElementName=ellipse, Mode=Default}">
			<Ellipse.Fill>
				<RadialGradientBrush RadiusX="0.531" RadiusY="0.531" GradientOrigin="0.262,0.176">
					<GradientStop Color="#7F000000" Offset="1"/>
					<GradientStop Color="#00DBDADA" Offset="0.323"/>
					<GradientStop Color="#00EEECEC"/>
				</RadialGradientBrush>
			</Ellipse.Fill>
		</Ellipse>
	</Grid>
</UserControl>